package org.nimi317.web_gis.form.post;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author thunderobot
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ModelPredictStepPost extends ModelPredictPost{

    @NotNull(message = "step不能为空")
    @Min(value = 1, message = "step必须大于0")
    @Max(value = 100, message = "step必须小于100")
    private Integer step;
}
